/*
 * main.h
 *
 *  Created on: Dec 11, 2011
 *      Author: Michael Anderson
 *      Part of Team 955 Battery Cart project
 *      compiled on Eclipse with Arduino libraries and avr-gcc
 */
#ifndef MAIN_H_
#define MAIN_H_

#include <Arduino.h>
#include <HardwareSerial.h>
#include "Battery.h"
#include "Charger.h"
#include "MyKeypad.h"
#include "Display.h"
#include "Conditioner.h"
#include "EventManager.h"
#include "Menu.h"
#include "pins.h"

EventManager *eManager;
MyKeypad *keypd;
Menu *menu;
//bool displaysInitialized = false;

Display *displays[NUM_DISPLAYS];
Battery *batteries[NUM_CHARGING_CIRCUITS];
Charger *chargers[NUM_CHARGING_CIRCUITS];
Conditioner *conditioners[NUM_CONDITIONERS];

void setup();
void loop();
void initPins();

//int msgCount;

#endif /* MAIN_H_ */
